import request from '@/utils/request'
/**
 * 获取区域列表
 * @param {*} params
 * @returns
 */
export const getAreaApi = (params) => {
  return request({
    url: '/api/vm-service/region/search',
    params
  })
}
/**
 * 搜索区域
 * @param {*} id
 * @returns
 */
export const getAreaIdApi = (id) => {
  return request({
    url: `/vm-service/region/${id}`
  })
}

